#ifndef INTERESTCHANGE_H
#define INTERESTCHANGE_H

#include "person.h"
#include <QWidget>
#include "QNetworkRequest"
#include "QNetworkReply"

namespace Ui {
class interestChange;
}

class interestChange : public QWidget
{
    Q_OBJECT

public:
    explicit interestChange(QWidget *parent = nullptr, Person * m_user = nullptr);
    ~interestChange();
    void basicSettings(); //基础设置
    void connectSettings(); //连接设置

private:
    Ui::interestChange *ui;

    Person * interest_user = nullptr; //用户信息指针
    QString colourPath;
    QString comicPath;
    QString originalPath;

public slots:
    void btnColour_clicked();
    void btnComic_clicked();
    void btnOriginal_clicked();
    void btnBeauty_clicked();
    void dealMsg(QNetworkReply *reply);
    void dealMsg1(QNetworkReply *reply);

signals:
    void showWait();
    void closeWait();
};

#endif // INTERESTCHANGE_H
